Removed unused code; computation error decreased (issue #82)