added auto AS calc from dps calculator