Function: pulseIn v0.1

Initial commit of a working pulseIn function for the Spark Core.