Player very jumpily walks along terrain now. A few chunk helping functions added.