Dealing with Flat Rotational Angles

- Made the programme able to deal with flat rotational angles
- Cleaned up some redundant code