Analytical and numerical methods for complex systems