compute mean of horizon line y-coordinate endpoints
added ground plane right angle constraints