Update LinearMachine: trainer should not resize the machine