get_y function

Get the response values from a data matrix