where C is an offset signal generated by the photodetector and amplifying circuits 31, e is a natural logarithm, t is time, a is a negative reciprocal of the time constant of the exponentially decaying curve, and A is a beginning value of the exponentially decaying signal.