Modified FunCallExprCodeGen

Added a check for rand. If return type is scalar, it generates a rand with no arguments.
Modified MatMulCodeGen

Fixed a bug in condition which identified the scalar and array arguments for scal_minus call.