Added credit
Removed getGridPoints()
Stored distance as double
Returned result
Updated for changes to GridMapLayoutOptimiser
Updated for changes to GridMapLayoutOptimiser
Added comment