Fixed a load of identical compiler warnings

The compliers were complainign about a conversion from size_t to int, so i changed it to top them complianing

Refs #3344
Merge branch 'feature/3344_AlgorithmFactory_Test_Suite' into develop