freeing prediction array after use