Created simulate method, fixed edge temperature initialization