Ray cast now works
Added comments