code for testing synapse fitting parameters