add enlarge and convert the sourceMatrix to target sparse Matrix

add enlarge and convert the sourceMatrix to target sparse Matrix