Implementing Models in Quantitative Finance: Methods and Cases