A Methodology for Estimating Cost in the Design Phase