I like to think of marketing costs as something separate from the original costs. Marketing costs are one of those things that just keeps on building building and... you get the idea.
The model for working out costs obviously changes depending on what method was used to generate the book to the point that it's ready for publication.
Anyhow, it's past 2am here - I'm probably rambling like an idiot now