Added class checking method to the start of the massi.check function. This checks if the input data is in the data.frame class.