Make the `VarianceFilter` compatible with the Spark backend as part of #11.
Make the
VarianceFiltercompatible with the Spark backend as part of #11.