fix __mul__ method and add __rmul__ method