This part is somewhat theoritical, but it should not be too difficult with a simple mathematical background