No point casting from int to int.
Refactoring, removing useless variables, changing ints to doubles, etc.