numpy wrapper now works for non-functions