I am Trying to find the distance between two places using WRT ,but my distance variable is always zero. dont understand what the problem is!

I have referred Calculating the distance between two locations