cleaned up MLNNV.optimize() method a bit more, WIP