nueral network fixes

working progress