Add cpBBOffset function

Just a helper function to cpBB.
I coded this a few times while using Chipmunk, so I felt in need of a function that does this.
Thanks