Math based hand symbol recognition