Added a copyright notice, minor fixes in space.py