Functions-stats

Added a few more functions... Which include some more stats
functions - stats-2

same as last commit just including all files