Just a quick question, can't seem to find any confirmation in the playground/tutorials but is pulsein a standard function for all DI/O pins on the MEGA?
pulseIn is pure software, so unless pin mapping breaks down for some reason on the Mega, it ought to work on any pin.