Raw material cost is just the tip of the iceberg. Here's how to calculate the full cost of a product, with a practical example.