Updated loadModel function

Updated loadModel function to work even in case-sensitive systems
Merge pull request #32 from grrnikos/master

Updated loadModel function