Essays in mathematical finance