Did the basic calculations

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