Fixed bug in cost distance calculation, updated full run