Fixes in conv3d2d for python 2.4