Oopsi: A Family Of Optimal Optical Spike Inference Algorithms For Inferring Neural Connectivity From Population Calcium Imaging