Using Phase Shift Memory as an Analogue Computer