Better behavior with empty curve.

Conflicts:
	matlab/Curve_extraction.m
	matlab/library/curve_info_mex.cpp