It should be noted in case anyone comes across errors generating the signature matrix, that you must not have a '-' character in the ids.