Python routines to calculate with physical quantities while keeping track of units and uncertainties