Updated docs
Added optimization criterion