Move loops into macros
Improve macros
Format code
#40 Add pink noise