Code V 1.0 this code reproduces the results of IVEZIC et al 2005 Appendix B