Updated license to BSD 3-clause and updated comment blocks in source.