adding 3 clause BSD licence for Martin Glover