Methods of mathematical finance