Fixed a few things for the mlm example and committed new file.