Multiple fixes to kron

Fixed issue 2637, and added support of Kronecker product between 
Vectors and Matrices.