Polarized memory switching effects in Ag2Se/Se/M thin film sandwiches