Added avgKP convenience function and fixed flownav --draw option