Fixed some bugs in the compute script