PhOptimization algorithm tuned: lower vcal sampling point determined from minpixel ph curve. Code polished