Implemented transforms. Closes #7.