change construction function
fix test code
add dtype param
Merge branch 'master' of github.com:ryanrhymes/panns