major changes to Manipualte.m, now supports upto 5 outputs from the function that is being manipulated