Various changes to try and speed up the execution. Currently I implemented a limited-matrix approach to reduce the distance sorting.
Authored by: jwjoubert 2015-01-21
Parent: [r31791]
Child: [r31793]