Added a basic transform interface and matrix parsing for #3.