How to estimate manufacturing costs