Besides the normal vector plus y distance, a plane can also be defined using three points in the plane, not on a line. You can transform those three points with a matrix, and perhaps convert them back into a normal vector plus y distance again.

Using mathematics, you might be able to simplify the calculation.