Converted the heuritic calculator to be compatible with mine

Signed-off-by: Exikle <dixondcunha@hotmail.com>