Calculate Adjusted Cost Base