Žiadanka emailom: The mathematical background of casing deflection in directional wells