- fixed bug in global fit: Did not work without weights.
- added function misc.parseString2Pagenum for page selection
- Fixed issue #33
- There was a small bug in the last commit (indent of misc.parseString2Pagenum)