Added basic transform functions & inverse matrix function