Added equations-based linear transformation and associated test.