Added matrix multiplication function. Improved getPositionAtCanvas function
Improved getPositionAtCanvas