Lma fixes

Some fixes within LMA::Optimizer Interface relating to the previous initialization changes.