Update single value module for sprintf bug and matrix example