Create calculateTopologicalProperties.m