The pin looks like the first issue to tackle. You will want to use pin 44. Pin 9 I believe is used for an Arduino Uno. 44 will get you the PMW you need.
To do that, you will need to modify the sketch and upload to the Arduino Mega to update it. Section B on page 7 in the instructions will show you what line to change.