Done new implementation of InformationSize type

Improved code from InformationSize type to better generalization.
Improved code readability using Linq.
Added some unit testing to InformationSize type.