bindings for added sampled dimension methods, added docstrings
changed tutorial code to use the sampled dimension methods