add Matrix.idr
added some collision functions and screwed up onclick