Updated formulas to appropriate attribute references

Updated the functions to match specifications stated within the wiki. In
this case I removed attr_ when attributes were being referenced as the
wiki states they shouldn't be there. Also updated all the attr_ names so
that we now have attr_Strength instead of attr_strength as an example.

Please validate before merging. Thank you.