Modify the CBS matlab code now that, we can get a resonable result.