fixed the options to save the bed and matrix data using the new internal matrix format