big changes to Manipulate.m