fixed crossprod / %*% bug