Added expand to spec file
added the expand method to the binary_matrix code