use boundingbox/voxdims/origin functions from nat in BrainTemplate.im3d

* better not to duplicate this logic
* also origin can be non-null
* TODO think about units