made fixLMmirror a public function
added .gitignore and added it to .Rbuildignore