Added documentation to SynthPatterns.cpp