Cython exposes more variables in the phase envelope

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Fixed a lot of little things to get multi-component phase envelopes to build.

Testing of mixture derivatives entirely refactored - much cleaner

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>