Fix MaskedAndScaledArray for 0-dimensional input

It's not possible to index a 0-dimensional array, so the expression `values[values == self.fill_value]` raised an error.