check_data function

Function to check if all values are numeric in data