Exhibit A to Note and Warrant Purchase Agreement FORM OF SECURED PROMISSORY NOTE