Removed the variable "X", the contents of which are drawn from ImMat.