Some python3 adaptions, introduced zUnitToMeter, OS independence

This corrects some spelling mistakes, makes the not-zemax-functions usable on unix, restores python3 compatibility and introduces a new Helperfunction to convert units.
As I said I compute _tons_ of beam profiles and I need to bring all the units of them to mm depending on what is set in the zbf-file as unit.