Shipping formula trouble

Shipping cost doesn't seem to be calculating correctly (Canada)

I think the problem could be your zip codes - Allmoxy has to have a space in the Canadian zip codes (e.g. N5P 4B9). I'm hoping if you get the zip codes in that format it will recognize the distance and fix that. Let me know if it doesn't. Also don't forget to get them in the right format not only on the shipping page but in the customer's shipping address as well.