Methods Of Estimating Cost Function