first draft of massp functions and test data
small edit