scorematrix function

Score matrix according Emond and Mason (2002)