Matlab/Fiji memory management

Script for changing matlab java heap memory.

Additional function for changing MIJI memory is included for posterity.
It no longer seems necessary.