Added a fairly simple version for fundamental computation