Mathematical Foundations Of Nonextensive Statistical Mechanics