- implemented calculation with new algorithms