added dimensionality parameter to TsdGrid interface