Improved model for linear/nonlinear effects for WP4+5, designs for WP3

Summary
Documentation for the improved numerical code