Added type check and error message for unary minus on non-numeric types