Added total mana cost method