SMITH MICRO SOFTWARE, INC. NOTE AND WARRANT PURCHASE AGREEMENT