Added the original vtCalc src from Diva source code