Created W generation functions, using Guillaume's suggested method
Generation of W added in, stabilization seems to be ocurring as desired (80% confident of that...)
Fixed recalculation of gradient matrix error, but plasticity functions appear to be dodgy
Completed reforming synapses code (fixed bug) and all general stability functionality. Generation may still be altered, but other changes should be minimal from here