Solved problem 31

Signed-off-by: Kim Seonghyun <shyeon.kim@scipi.net>
Added more codes on GMM

Signed-off-by: Kim Seonghyun <shyeon.kim@scipi.net>