added matrix != and scalar <-> matrix ==, !=
fixed some whitespaces