Update matformatter.c