Added function stub for 'segmentFeatures'

Signed-off-by: Jimmy Yu <jimmy.w.j.yu@gmail.com>