Impoved optandinit.py. Added file for analyzing opt. results