Added a few functions

Added getIRDistance() function.