Added math functions snippets

Added math functions snippets also fixed some Readme errors