correct weighting function if method is nn and method is a dict #15
Merge branch 'develop' of https://github.com/TUW-GEO/pytesmo into develop