“The average software company that goes public has spent about 30% of its total cumulative expenditures on research and development.”