Fair revamp of the code, with inspiration drawn from David Sing's IDL code.
Added the three-parameter nonlinear limb darkening law.