Fix matrix-vector product for non-square matrices and add error if shapes unaligned. TODO: Test case
Link against rt on linux