Update temporal.m

just not to form pad matrix twice