sc_cols_bounded function

Checks that all elements from the specified columns are in a certain range