adapt some api calls to newer definitions; implement allelematrix call.
adapt some api calls to newer definitions; implement allelematrix call.

solgenomics/sgn,solgenomics/sgn,solgenomics/sgn,solgenomics/sgn,solgenomics/sgn,solgenomics/sgn,solgenomics/sgn