#calculate accepts eps as argument