WIP: Still working on returning nparrays, but making progress.