Wrote some stuff, added KPZ code