Multiple fixes, new APIs
Use new fast API for ndarray wrapping