removing every warning on earth

apart from one in spline.hpp but it's not my code so I can't do aynthing
about it