Tidy regeneration code. Adjust mp costs for ninth and tenth level spells at high intelligence.