Measurements and their Uncertainties: A practical guide to modern error analysis