linearity test added support for A Matrix interpolation