undef mem profile
more work on helpers and matprod