Fixed typo impacting NPY < 1.8

make_output_scalar -> make_outputs_scalar
Fix scalar handing logic
Wrapper update