Fix PEP8
Fix up prediction functions, add annealing optimization script