Cleaned up neural net (converted to class form, still not vectorized)