Fix for issue #30

Updated approach to calculateAngle() in Angle2d.java and Angle3d.java
Merge pull request #35 from lweber/master

Fix for issue #30