Updated Attributes Class

Attributes class has been updated to handle errors accessing stats, as well as providing clamps for certain stats.