Implelemnted search/plot mechanism

For getting optimized z*/Cvf and plotting Cvf