Added matlab reader function for heat_transfer example