fixing bugs in madlib.cpp
Merge remote-tracking branch 'origin/master'

Conflicts:
	Final Project/Final Project.sdf
	Final Project/Final Project.v12.suo