Hey @Roberto_Landrau, in case you want a bit of maths and codes to help understand, please check this thread out.
Raymond