Review coded

- Fixed angling bug
- Added commenting
- Traced code to ensure correctness