Code written during my undergraduate research project in the jacobson lab