Update geotool.js

padLZ was failing due to the length test in a loop using the variable as it changed length. Was returning three digit strings when four digits were required.