Fixed a small bug, added licensing information