Added matrix for ticks