How to calculate cost for any software project?