Calculate Cost Basis Stock