Geometry updates. Fix error with angle calc.