give value from options.unit not as string

so it had used just miles and ignored the options.unit value
60: var earthRadius = getEarthRadius(options.unit);
Merge pull request #1 from wesflo/patch-1

give value from options.unit not as string