Formatting cleanup & (currently very bad) neural net approximator.