High-order iterative learning controller with initial state learning