initial cost calculator