added a standalone class adapt_meas which allows execution of the basic adaptive measurement algoritm(dx^2+dy^2)