Changes to old valout
ASCII output working but buggy
Testing with chile2010 example