Note and Warrant Purchase Agreement