make SubstitutionMatrix serializable

This is necessary for running biojava SW across a Spark cluster (http://spark.apache.org/).