made changes recieved bt Mckay in pull request for starlab.py to starlibrary.py