Adaptive manifold filter improvements

Memory consuming was reduced
Performance was improved (10% average)
Downsample/upsample operations were paralleled