Added matrix class, support for transformations, NDC space etc