Modeling and characterisation of amorphous ternary chalcogenide system for reversible optical memory applications