Function documentation

Added some documentation for the MACD functions.