Fixed issues with speedCalc

Need to work on resourceCalc
Started resourceCalc

This function will look at resource efficiency in terms of what has been
used and what is left over.