Refactored dispersion calc and created methods
Solved the ReadInt method