(a) Notwithstanding any other provision of law, for the 1989 -90 fiscal year and each fiscal year thereafter, after calculating the increase in funding amounts specified in Section 42287, the Superintendent of Public Instruction shall increase the funding amounts specified in Sections 42281, 42282, and 42284, by the sum of paragraphs (1) and (2): (1) Compute the product of subparagraphs (A) and (B): (A) The amount per unit of average daily attendance computed pursuant to subdivision (e) of Section 54060.6. (B) The average daily attendance for each necessary small school and necessary small high school for which the district receives funding in the current fiscal year pursuant to Section 42281, 42282, or 42284, as appropriate. (2) Commencing in the 1990-91 fiscal year and each fiscal year thereafter, the amount computed pursuant to paragraph (1) shall be increased by the percentage cost-of-living increase given to school district revenue limits for the then current fiscal year.