Fixed some typeof errors and the package distance method which is now passing. Need to fix packageCost method.