Fixed the weight scaling and updates to handle errors and to account for
flat rate shipping with no weight input