adding basic error fraction calculator