Aperiodic interferometer for six degrees of freedom position measurement.