provided a mechanism for storing the BCS phi matrix outside the json