Added rolling window support for masked arrays