Write cython dot, other optimsations and fix for du/dV
Optimisation flag for MaxLocalAUC
Initialise to ones