powered by
Check that 'data' argument is formatted correctly
validate_data(data)
data as a matrix
data passed by the user