A Wireless Closed Loop System for Optogenetic Peripheral Neuromodulation