Update Integer Extension Methods

Bug fixes and efficiency