added methods for retrieving Quantity from SystemOfQuantities.