Event Based Control and Estimation