On the validity of the geostrophic approximation for calculating the changes in the angular momentum of the core