Finished debugging the top accuracy stuff. Now implementing prediction through averageing on many subwindows.