Matlab implementation of ICEACE model