Thurstone-Shepard Similarity Models as Special Cases of Moment Generating Functions