PureScript 2D matrix transformations