Added sinusoidal profile fitting.

Signed-off-by: deepak <dpak.cherian@gmail.com>