Add support for double[] and double[][] matrix inputs.
Merge pull request #44 from michaelochurch/double-array-support

Add support for double[] and double[][] matrix inputs.