add some edge cases for scalars and one row/column inputs