Quantification of geometric uncertainties in image guided radiotherapy