MAINT: small misc changes

It's great to see this project and https://github.com/vsego/shrinking on github with scipy-compatible licenses!  As I was reading through it I've suggested the modifications in this PR to make its usage of numpy even more idiomatic.