Shape Feature Extraction Matlab Code