Development And Characterization Of An Intracortical Closed-Loop Brain-Computer Interface