added compute cost uinit test, fixed bug in compute cost
added compute cost uinit test, fixed bug in compute cost

BrandonBaucher/website-optimization,BrandonBaucher/website-optimization,BrandonBaucher/website-optimization,BrandonBaucher/website-optimization,BrandonBaucher/website-optimization