fixed storm forecast error shape; cleaning code