Automated Refraction Machines