math: Generalized classic matrix product for unit tests.
math: Bashed 'smart' matrix mult, test uses hand calcs.