STOCK PURCHASE AGREEMENT dated as of October 6, 2017 between KALVISTA PHARMACEUTICALS, INC., and