Calculate federal and state tax withholdings