add function to remove metadata
Merge pull request #384 from teravest/remove_samp_and_prep_info

add function to remove metadata