Implemented a check for ndim exceeding two in the utils.check_arrays function
Removed unnecessary variable n_dim in utils.check_arrays, removed unnecessary parens in same place
Trivial change in utils.check_arrays from > 2 to >=3 in attempt to rebuild Travis CI
Merge pull request #2958 from hamsal/check_arrays_n_dim

[MRG] check for ndim exceeding two in utils.check_arrays