Library for measuring distance using unexpensive IR reflective sensors (As CNY7)

ok - i got it going. it turns out i smoked the diode in the CNY70. So i replaced it and wiggled some wires. now to try your libraries but i really need a good way to measure the velocity.