Moved shape_extract to the general matlab functions repository.