added basis, generalized `centerXY` and `snugXY`

What do people think about renaming,
`center` to `centerV`
`centerOrigin` to `center` ?

As a bonus I added a `frame` function, which I think provides a better `pad`.