Updated licensing information and fixed error in one of the examples.