Changed the platform distances
Added distance counter
Error fixes