Added km/miles unit option to settings along with required code for front-end form.