Improvements on the virtual obstacle method. (23rd March 2020)