Bug fix

updated '-', '/' and '%' for correct result when left and right sides
are swapped.