Updated Current System Statistics

Updated and optimized the current system statistics function in the
hashpipe.pl script.