manip-factors function

Manipulate factors in a reference grid