What is state tax apportionment and how do you calculate it?