replaced dilation with original formula, temporary patch on sparsesvd,
started fixing memory problems with wadd