Dimensions assertion for cross product was broken.
Merge pull request #1820 from placasse/matrix_assertion

Dimensions assertion for cross product was broken.