Improved exporting data from maos to matlab
Relocated loc locbin to math/
Start making use of generic cell array instead of dedicated ones.
Unifying all double pointers by cell array. Use a generic cell array to handle i/o and new/free.