Determining distance from height and angles