moving is_definitely_vector to its own file, add is_definitely_(col|row)_vector
make transpose/ctranspose optimization work correctly for column and row vectors