Remove spurious argv specification from xtract_smoothness() documentation. Fixes #27.
Optimise xtract_smoothness() by removing call to malloc(). Also fix bug in xtract_smoothness() where *result was uninitialised but used in calculation.