Added checking of scalar operations, more verbose output.
Added sub and div.