Add functions to create new measures. Change distance to length.