Hyper-cube calculation engine