added area units, renamed previous area to angle, fixed NaN bug