Added storing of weights to EM. Added LatentObjectiveComputer. Fixed bug
in handling weight storing option