Fix collisions

- fix angle in collision checker
- fix double run in function update
- fix rotation center in function collision checker
- added test for collision checker
- now collision work fine