Updated methods in angles and added tests