imperfect regulation completed

Done and tested. Collecting data now.