Added mean() for Quantities.