Added new way of determining epsilon.