Module for caclulating the cost of a body. Doesn't handle bodies > 5 correctly.