Added collision detecting functions
Update collision comments