added the full SMO Platt implementation to the support vector machine example