A variation of Sequential Minimal Optimization algorithm implementation