Added angle calculations and bouncing against lines