Fix comparison of quantities

Comparison of quantities was implemented using the `functools.total_ordering`
class decorator. This was not working properly for Quantities in which the
magnitude was a NumPy Array. With this commit comparison operators are
explicitly defined.

fix #74
Update changes