Program runs but returns 0s for all coordinates