Added thickness.m