Gravitational lensing potential reconstruction in quadruply imaged systems