fix warnings
to return ndarray works
omit Boost.Python, it is not required