Calculating Determinats For QuantumGraphs