In masker.get_data, added .ravel() under output='vector' to ensure a vector is returned