Added a 3-clause BSD license to the library.