Added calculateMaxMana Method.