changes that fix #14 #13 and #11

Now, we have no errors during compiling, and no run time errors due to Rep[Int]. Also the update fixed the problem with binary operations. A good reason for being happy today...