Change license text to lgpl 2.1
remove free standing operator& to avoid conflicts with unknown types
finish distance equations