How to Code Proportional Navigation in Matlab or Octave - Guidance Fundamentals - Appendix A