diff --git a/2dfdrhelp/1DfitBackgroundSubtraction.html b/2dfdrhelp/1DfitBackgroundSubtraction.html
new file mode 100644
index 0000000000000000000000000000000000000000..190ea291ab1f85bd55110e327f57dfcf9e37686a
--- /dev/null
+++ b/2dfdrhelp/1DfitBackgroundSubtraction.html
@@ -0,0 +1,69 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+  <head>
+    <meta content="text/html; charset=ISO-8859-1"
+      http-equiv="Content-Type">
+    <title>1DfitBackgroundSubtraction</title>
+  </head>
+  <body>
+    <h1 style="text-align: center;">1D fit Background Subtraction</h1>
+    <br>
+    <h2>Brief:</h2>
+    1D fit Background Subtraction is a method of removing scattered
+    light from an image prior to subtraction. For each spatial column a
+    piecewsie function is fitted to the locations of "dead" fibres. A
+    median smoothing is then performed spectrally across all these
+    columns to define a smooth 2 dimensional model of scattered light
+    which is then subtracted from the image. The piecwise function is
+    instrument specific as follows:<br>
+    <br>
+    <h3>For AAOmega Instrument:</h3>
+    Model the scattered light a level plateau with Gaussian roll offs at
+    the edges.<br>
+    Divides the spatial pixel range into the three ranges:<br>
+    <ul>
+      <li>&nbsp;[x1,x2], A raising Gaussin</li>
+      <li>&nbsp;[x2,x3], A constant plateau</li>
+      <li>&nbsp;[x3,x4], A lowering Gaussian</li>
+    </ul>
+    Where x1 and x4 are the first and last points of the fitting data
+    and x2, x3 are located at 3*IGAP away from the first and last fibre
+    trace path (regardess of what status the are eg are they dead). <br>
+    The plateau is defined as the median of the Y_PTS. The Gaussians are
+    hard coded&nbsp; to have a sigma of 25 pixels and scaled so that
+    they pass through the points:<br>
+    <ul>
+      <li>&nbsp;(X_PT(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+        ,Y_PT(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) on the LHS and </li>
+      <li>&nbsp;(X_PT(Last),Y_PT(Last)&nbsp; ) on the RHS </li>
+      <li>and the plateau value at x=x2 and x=x3</li>
+    </ul>
+    <br>
+    <br>
+    <h3>For Other Instruments:</h3>
+    Model the scattered light a quadratic plateau with cubic roll offs
+    at the edges.<br>
+    Divides the spatial pixel range into the three ranges:<br>
+    <ul>
+      <li>&nbsp;[x1,x2], A raising cubic<br>
+      </li>
+      <li>&nbsp;[x2,x3], A quadratic/linear plateau</li>
+      <li>&nbsp;[x3,x4], A lowering cubic</li>
+    </ul>
+    Where x1 and x4 are .....<br>
+    <br>
+    The problem with the original code was the implementation of
+    iterative non-linear solvers which had a tendency to either fail to
+    converge to a solution or converge to a solution distant to the
+    correct least squares solution. As non-linear solvers are not
+    neccesary for this problem, this has been replaced with linear
+    solvers which will return the correct least squares solution.
+    However, there are cases where the correct least squares solution in
+    undesirable. In this situation we have added the constraint that the
+    cubic rolloffs should go to zero at X1 and X4<br>
+    <br>
+    <br>
+    <br>
+    <br>
+  </body>
+</html>
diff --git a/2dfdrhelp/2dfDRRoadmap.html b/2dfdrhelp/2dfDRRoadmap.html
index 0444efeef11587c8c01bd512f1c2eec4e1d37763..1c5c5c60ed98c8e8ff3e74eed281fbd5fa29aa30 100644
--- a/2dfdrhelp/2dfDRRoadmap.html
+++ b/2dfdrhelp/2dfDRRoadmap.html
@@ -94,6 +94,7 @@
 
 
 
+
                   Velocity correction</a></li>
               <li><a href="AlgorithmSuperSamplingSkySubtraction.html">Super-Sampling
 
@@ -102,6 +103,7 @@
 
 
 
+
                   Sky Subtraction</a><br>
               </li>
               <li><a
@@ -112,7 +114,11 @@
 
 
 
+
                   Smoothing of Reduced Flat Field Data</a></li>
+              <li><a href="1DfitBackgroundSubtraction.html">1D fit
+                  Background Subtraction</a><br>
+              </li>
             </ol>
           </td>
           <td style="vertical-align: top;">
@@ -124,6 +130,7 @@
 
 
 
+
                   Instrument Projects</a></li>
               <li><a href="2dfDRRoadmapAlgorithms.html">Algorithms</a></li>
               <li><a href="2dfDRRoadmapGUI.html">GUI</a></li>
diff --git a/2dfdrhelp/2dfDRWorkgroupMeetingMinutes.html b/2dfdrhelp/2dfDRWorkgroupMeetingMinutes.html
index 096d9d869036f9bad34c330a59736ecd3c9c342c..4a022edf55df262b4d8a9cca8d469312b2b1eedb 100644
--- a/2dfdrhelp/2dfDRWorkgroupMeetingMinutes.html
+++ b/2dfdrhelp/2dfDRWorkgroupMeetingMinutes.html
@@ -11,12 +11,22 @@
     <h2> Meeting Dates:</h2>
     <ul style="font-family: monospace;">
       <li><a href="2dfdrWorkgroupMeetingMinutes01JUL2017.html.html"><big><big>01/Jun/2017</big></big></a></li>
-      <br>
+    </ul>
+    <br>
+    <ul style="font-family: monospace;">
       <li><big><big> <a
               href="2dfdrWorkgroupMeetingMinutes22JUL2017.html">22/Jun/2017</a></big></big></li>
-      <br>
+    </ul>
+    <br>
+    <ul style="font-family: monospace;">
       <li><a href="2dfdrWorkgroupMeetingMinutes020JUL2017.html"><big><big>20/Jul/2017</big></big></a></li>
     </ul>
+    <big><big><br>
+      </big></big>
+    <ul style="font-family: monospace;">
+      <li><big><big><a href="2dfdrWorkgroupMeetingMinutes10AUG2017.html">10/Aug/2017</a><br>
+          </big></big></li>
+    </ul>
     <br>
     <br>
     <h2>Next Meeting Due: <br>
diff --git a/2dfdrhelp/2dfdrWorkgroupMeetingMinutes10AUG2017.html b/2dfdrhelp/2dfdrWorkgroupMeetingMinutes10AUG2017.html
new file mode 100644
index 0000000000000000000000000000000000000000..089f1f9122bf92d57071f89958daef96b04655df
--- /dev/null
+++ b/2dfdrhelp/2dfdrWorkgroupMeetingMinutes10AUG2017.html
@@ -0,0 +1,552 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+  <head>
+    <meta content="text/html; charset=ISO-8859-1"
+      http-equiv="Content-Type">
+    <title>2dfdrWorkgroupMeetingMinutes22JUL2017</title>
+  </head>
+  <body>
+    <h1 style="text-align: center;">2dfDR Workgroup Meeting 10th August
+      2017</h1>
+    <br>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">2dfdr Working
+        Group Meeting Minutes</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">===================================</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <br class="">
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">**Date:**
+        2017-08-10</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">**Attendees:**&nbsp;
+        Chris Lidman,&nbsp; Mike Birchall, Tayyaba Zafar, Dilyar Barat,
+        Angel Lopez-Sanchez, Tony Farrell, and Scott Croom</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">**Apologies:**
+        Matt Owers</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">**Next
+        meeting:** Thursday, 31st August 2017 at 1:30pm in room 6.&nbsp;</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">We'll use zoom
+        for remote participants.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      color: rgb(227, 36, 0);" class=""><span style="font-kerning: none"
+        class="">Active action items in red</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      color: rgb(227, 36, 0); min-height: 14px;" class=""><span
+        style="font-kerning: none" class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      color: rgb(0, 199, 252);" class=""><span style="font-kerning:
+        none" class="">Completed actions are in Blue</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Updates&nbsp;</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">=======</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Updates from
+        Mike</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- Julia talked
+        to Mike about Hector issues they still need to conclude. Further
+        testing is considered.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- Super-sampled
+        sky subtraction is ready to test. Matt Owers will provide data
+        to use in the test. See the action item below. Rob Sharp will
+        provide input on it using his WIFeS data&nbsp;</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><br class="">
+      <span style="font-kerning: none" class=""></span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- Heliocentric
+        correction not applied yet.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- Mike noted
+        that Dilyar has reported that he was getting core dumps. Further
+        information from Dilyar is required</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Mike to implement
+        heliocentric corrections in the code.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Mike to implement native
+        rotation of images for TAIPAN.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Update: Chris
+        provided data with x6700 for standard stars and computed the
+        transfer functions and passed to Mike.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Update: SAMI
+        tested the b-spline fit for the extracted flats and it imropved
+        the reduction substantially.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:</span><span
+        style="font-kerning: none" class=""> Mike to check that the
+        Bspline produce a ripple at the end of the BLUE arm data.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:
+      </span><span style="font-kerning: none" class="">Chris will create
+        a branch for fusion forge and modify the code with 9300 telluric
+        line and upload the branch back and send it to Mike.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">We discussed
+        priorities for three on-going projects and set them as follows</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">1. Heliocentric
+        corrections</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">2.
+        Super-sampled sky subtraction</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">3. B-spline
+        fitting of fibre flats.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Earlier action
+        items - Includes recently closed actions</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">=======================================================</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Tony to ask IT why fusion
+        forge is not sending e-mail confirmations for new accounts.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Update: Tony
+        has asked IT to investigate.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:&nbsp;&nbsp;</span><span
+        style="font-kerning: none" class="">Mike process data provided
+        by Ross to test 2dfdr for TAIPAN</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #0433ff" class="">Closed:</span><span
+        style="font-kerning: none; color: #4f7a28" class=""> </span><span
+        style="font-kerning: none" class="">The data is processed and
+        the 2dfdr is working for TAIPAN data.</span></div>
+    <p style="margin: 0px; line-height: normal; font-family: Courier;
+      color: rgb(79, 122, 40); min-height: 14px;" class=""><span
+        style="font-kerning: none" class="">&nbsp;</span><br
+        class="webkit-block-placeholder">
+    </p>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:&nbsp;&nbsp;</span><span
+        style="font-kerning: none" class="">Mike will use Simon
+        O&#8217;Toole&#8217;s laptop to test the Sierra and El Capitan builds on
+        Sierra.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #0433ff" class="">Closed:</span><span
+        style="font-kerning: none" class=""> Mike now has a Sierra
+        machine on which to test 2dfdr on Sierra.&nbsp;</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">The final residual image is
+        corrupted for AAOmega. Oddly enough, the residual image that is
+        used in the double pass cosmic ray removal algorithm looks fine.
+        Mike to investigate</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">One hold, as
+        the problem could not be reproduced.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff4013" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Matt to provide Mike with
+        test data for sampled sky subtraction&nbsp;</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Pending. Chris
+        has reminded Matt that we are waiting for these data.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff4013" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Jeffrey to report on the
+        GALAH experience in using the MOLECFIT code.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Pending. We
+        should consider using the ESO python code that models the
+        absorption from molecules in the Earth&#8217;s atmosphere as a way to
+        remove telluric features. It would benefit SAMI observations and
+        2dF+AAOmega observations of nearby stars.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Mike noted that
+        Gayandhi has reported that the GALAH team are still
+        experimenting with this code.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff4013" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Angel to process KOALA data
+        (specifically the arcs) using beta 6.58 and to report back to
+        the meeting.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #0433ff" class="">Closed:</span><span
+        style="font-kerning: none" class=""> Data tested. Cosmic
+        regection is not robust. Angel noted problems when using the
+        x6700 dichroic.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff4013" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Angel to provide Mike with
+        KOALA data so that they can use in the regression tests.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #0433ff" class="">Closed:</span><span
+        style="font-kerning: none" class=""> KOALA data is provided to
+        Mike.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff2600" class="">Action:</span><span
+        style="font-kerning: none" class=""> Mike to perform regression
+        tests using the KOALA data.&nbsp;</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #e32400" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Chris, Dilyar, Francesco and
+        Scott to test the repository</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">In progress.
+        Waiting for Tony for some fixes to the repository.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff4013" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Jeffrey to measure the RON
+        of the blue, green, red and IR CCDs of HERMES</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">No update</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #e32400" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Jeffrey (for HERMES),
+        Tayyaba (for AAOmega), Francesco (for SAMI), Dilyar (for
+        TAIPAN), and Angel (for KOALA) to review and update the IDX
+        files.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Update: Angel
+        provided the idx files for KOALA and Mike found issues with with
+        reduction for some columns.&nbsp;</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">We decided that
+        changes should be implemented for the next official release.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Flat fielding.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- Create a new
+        button called dome flat in the CCD GUI or alternatively include
+        an option to do dome flats once the fibre flat button is
+        pressed.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- If a dome
+        flat is taken, set the RUNCMD keyword to DOMEFLAT.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Everyone agreed
+        to these changes.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff4013" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Tony to implement the
+        changes listed above in consultation with the instrument
+        scientists.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Quality control</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">We discussed
+        the need to more diagnostics on how well the arc line fitting is
+        done.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Scott noted
+        that he wrote a document that contained specific requirements.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none; color: #ff4013" class="">Action:</span><span
+        style="font-kerning: none" class="">&nbsp;Chris to gather the
+        requirements and come up with a proposal for Quality Control.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Chris has
+        started to gather requirements. Dilyar and Chris will meet next
+        week to discuss this further.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      color: rgb(38, 62, 15);" class=""><span style="font-kerning: none;
+        color: #e32400" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Tayyaba (2dF), Angel (KOALA)
+        and Julia (SAMI) to provide transfer functions for their
+        respective instruments.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Work in
+        progress. Low priority.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      color: rgb(38, 62, 15);" class=""><span style="font-kerning: none;
+        color: #e32400" class="">Action:&nbsp;</span><span
+        style="font-kerning: none" class="">Tayyaba (2dF), Angel (KOALA)
+        and Julia (SAMI) to document the list of gratings where the
+        fibre traces run off the top of the CCDs in the respective
+        instrument user manuals.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">All setups have
+        been checked. 2dF+AAOmega done. Changes to other manuals are
+        pending.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">The default
+        action of 2dfdr is to report when there a fibre runs of the top
+        or the bottom of the CCD and carry on. The user will have the
+        option to mark fibres as bad in the idx file.</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Priorities</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">==========</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Chris listed
+        the four main priorities for 2017. In brackets, I&#8217;ve listed
+        those who are actively</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">working on
+        these issues</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- TAIPAN
+        (Hopkins/Birchall/Barat/Lidman)</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- Improvements
+        to the code that lead to better sky subtraction
+        (Crrom/Lidman/Owers/van de Sande/D&#8217;Eugenio)</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- Processing
+        KOALA data and implications for Hector
+        (Lopez-Sanchez/Brichall/Bryant)</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">- Quality
+        control metrics (Lidman/Birchall)</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;
+      min-height: 14px;" class=""><span style="font-kerning: none"
+        class=""></span><br class="">
+    </div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">Notes</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">=======</span></div>
+    <div style="margin: 0px; line-height: normal; font-family: Courier;"
+      class=""><span style="font-kerning: none" class="">The IDX files
+        should keep the structure as an IDX file for each arm and then
+        each arm has components for stars and galaxies.</span></div>
+    <div class=""><span style="font-kerning: none" class=""><br class="">
+      </span></div>
+  </body>
+</html>
diff --git a/2dfdrhelp/AlgorithmHeliocentricVelocityCorrection.html b/2dfdrhelp/AlgorithmHeliocentricVelocityCorrection.html
index ae77cc2d6fb1674c92e5a19d5f280be49cacf667..d9e201381682c70e669e38b9e78676d086c9eb9d 100644
--- a/2dfdrhelp/AlgorithmHeliocentricVelocityCorrection.html
+++ b/2dfdrhelp/AlgorithmHeliocentricVelocityCorrection.html
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
   <head>
     <meta content="text/html; charset=ISO-8859-1"
@@ -13,7 +13,7 @@
     is corrected for the redshift of the taget due to the Telescope's
     heliocentric velocity at the time of the observation.<br>
     <br>
-    <h2>Solution Details:</h2>
+    <h2>Solution Formulae Details:</h2>
     The UT of the date and time of the observation as well as the
     telescopes latitude and longitude is stored in the headers of the
     science data frame. The fibre tables includes the RA and Dec of the
@@ -25,11 +25,15 @@
     Step 2. Add tdfio fibre API to read and write a veocity correction
     table<br>
     Step 3. Add routine to calculate the heliocentric velocity
-    correction, given the ....<br>
+    correction, given the time and pointing direction information
+    required.<br>
     Step 4. At the beginning of the reduction of a science frame,
-    calculate and add the velocity correction column to the fibre table.<br>
-    Step 5. Prior to scrunching, correct the Amstrom calibration of each
-    pixel based on the velocity correction using the formula:<br>
+    calculate the velocites of interest for each fibre and the mean
+    plate position and store this information.<br>
+    <br>
+    Step 5. Prior to rebinning during the scrunching process, correct
+    the Angstrom calibration of each pixel based on the velocity
+    correction using the formula:<br>
     <br>
     <div style="text-align: center;">z&nbsp; = v/c and
       z=(LAMo-LAMe)/LAMe&nbsp;&nbsp; <br>
@@ -38,17 +42,34 @@
     where z = redshift, v = velocity, LAMo = observed wavelength, and
     LAMe = emitted wavelength<br>
     <br>
-    Which gives lame=1/(1+z)*LAMo<br>
+    Which gives LAMe=1/(1+z)*LAMo<br>
     <br>
     i.e. each calibrated pixel value must be scaled by a factor 1/(1+z)<br>
     <br>
+    <h2>Option Requirements:</h2>
+    <ul>
+      <li> Choose between heliocentric correction and Barycentric
+        correction</li>
+      <li>Option to include Earth's Rotation</li>
+      <li>Choose direction of velocity to be in the RA and DEC of each
+        fibre in question or the mean RA and DEC of the plate itself</li>
+      <li>If choosing the mean RA and DEC of the plate, add to the fibre
+        tables a "delta velocity correction" (delvcor) column that lists
+        the difference between the correcting velocity in the direction
+        of that fibre and the correcting velocity in the direction of
+        mean plate position.</li>
+      <li>If choosing the RA and DEC for each fibre, add to the fibre
+        tables a "velocity correction" (vcor) column that lists the
+        correcting veocity used. </li>
+    </ul>
     <h2>Caveats:</h2>
-    As there are now two wavelength scales associated with each fibre,
-    tellucentric wavelength and heliocentric wavelength confusion may
-    arise when dealing with wavelength specific processing. In
-    particular, standard sky subtraction is performed post scrunch but
-    at a tellucentric wavelength. The major purpose of suppliyng
-    heliocentric wave corrections during data reduction is to minimise
+    <span style="font-weight: bold;">1.</span> As there are now two
+    wavelength scales associated with each fibre, tellucentric
+    wavelength and velocity correcting wavelength confusion may arise
+    when dealing with wavelength specific processing. In particular,
+    standard sky subtraction is performed post scrunch but at a
+    tellucentric wavelength. The major purpose of suppliyng velocity
+    wavelength corrections during data reduction is to minimise
     scrunching to once only, thereby minimising rebin errors. Clearly
     this will not be possible with the standard methods of sky
     subtraction. The main issues are combining velocity correction with
@@ -62,8 +83,361 @@
     <br>
     The super-sampling sky subtraction method currently under
     development has the advantage that the sky spectra is subtracted
-    from pre-scrunched data which would handle the first point,
-    unfortunately this is a lower priority project.<br>
+    from pre-scrunched data which would handle the first point. Current
+    sky subtraction methods can be used if direction of velocity chosen
+    is that of the mean plate position as this will result in the same
+    wavelength transformation for each fibre spectra, but care must be
+    taken for any sky subtraction method that relies on hard coded
+    wavelength regions.<br>
+    <br>
+    <span style="font-weight: bold;">2.</span> The required behaviour of
+    a scrunch operation is now dependent on the data frame class (eg we
+    do not velocity correct an arc frame) and instrument type (eg 6df
+    data may not have required parameters to calculate the velocities).
+    <br>
+    <br>
+    <br>
+    <h2>Refactoring:<br>
+    </h2>
+    Refactoring of the scrunch related routines is required to handle a
+    new hierarchical structure. We break this into four modules:<br>
+    <ul>
+      <li>SCRUNCH to handle the breakdown of the data frame type and
+        instrument type;</li>
+      <li>PIXCAL to handle the calibration of each pixel of each spectra
+        to required options;</li>
+      <li>REBIN to handle the actual rebinning of data at both the data
+        frame level argument level and the data arrays and specific
+        options level;</li>
+      <li>VELCOR to handle the construction of velocity tables via
+        slalib routines and the retreival of specific
+        corrected/uncorrected wavelengths either as scalars, vectors or
+        2D arrays.</li>
+    </ul>
+    <br>
+    <h3> SCRUNCH MODULE API List:</h3>
+    <table style=" text-align: left; width: 100%;" border="1"
+      cellpadding="2" cellspacing="2">
+      <tbody>
+        <tr>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Subroutine Name</span><br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Argument List</span><br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Description</span><br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">SCRUNCH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <br>
+          </td>
+          <td style="vertical-align: top;">(ID,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">Determines the data frame
+            class and calls the appropriate scrunch routine.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">SCRUNCH_MFOBJECT</td>
+          <td style="vertical-align: top;">(ID,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">Scrunch routine specifically
+            for object frames.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">SCRUNCH_MFFFF &nbsp;&nbsp;
+            &nbsp; <br>
+          </td>
+          <td style="vertical-align: top;">(ID,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">Scrunch routine specifically
+            for flat frames. This will incoporate a forward rebin,
+            average flat fielding and reverse rebin.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">SCRUNCH_2ARC_CAL</td>
+          <td style="vertical-align: top;">(ID,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">Scrunch data frame from
+            calibrations specified exclusively in an arc frame. Used for
+            scrunching sky frames and flux frames.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">SCRUNCH_2SKY_CAL</td>
+          <td style="vertical-align: top;">(ID,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">(Object frame only) Scrunch
+            data frame to a sky calibration. Mainly for debug and
+            testing purposes.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">SCRUNCH_2VEL_COR</td>
+          <td style="vertical-align: top;">(ID,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">(Object frame only) Scrunch
+            data frame incorporating velocity corrections. Mainly for
+            debug and testing purposes.<br>
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    <br>
+    &nbsp;<br>
+    <h3> PIXCAL MODULE API List:</h3>
+    <table style=" text-align: left; width: 100%;" border="1"
+      cellpadding="2" cellspacing="2">
+      <tbody>
+        <tr>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Subroutine Name</span><br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Argument List</span><br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Description</span><br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">PIXCAL_FROM_ARCF </td>
+          <td style="vertical-align: top;">(ID,PIXCA,NPIX,NFIB,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">Derives the PIX CAL array,
+            PIXCA(NPIX,NFIB) from arc data frame.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">PIXCAL_RECAL2SKY</td>
+          <td style="vertical-align: top;">(ID,PIXCA,NPIX,NFIB,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">Recalibrates a given PIX CAL
+            array to sky lines found in object data frame.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">PIXCAL_SHIFT2VEL </td>
+          <td style="vertical-align: top;">(ID,PIXCA,NPIX,NFIB,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">Corrects given PIX CAL array
+            to correct for directional velocities.<br>
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    <br>
+    &nbsp;
+    <br>
+    <h3> REBIN MODULE API List:</h3>
+    <table style=" text-align: left; width: 100%;" border="1"
+      cellpadding="2" cellspacing="2">
+      <tbody>
+        <tr>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Subroutine Name</span><br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Argument List</span><br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Description</span><br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">REBIN_SPECTRA</td>
+          <td style="vertical-align: top;">(ID,PIXCA,OAXIS,NPIX,NFIB,ARGS,STATUS)</td>
+          <td style="vertical-align: top;">Rebin all associated spectral
+            data extensions of given data frame from the calibrated
+            pixels to the specifed output axis.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">REBIN_ARRAYS </td>
+          <td style="vertical-align: top;">(IMGA,VARA,SPCRESA,PIXCA,OAXIS,NPIX,NFIB)</td>
+          <td style="vertical-align: top;">Rebin the various arrays from
+            the pixel calibrations to the output axis.<br>
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    <br>
+    &nbsp;
+    <br>
+    <h3> VELCOR MODULE API List:</h3>
+    <table style=" text-align: left; width: 100%;" border="1"
+      cellpadding="2" cellspacing="2">
+      <tbody>
+        <tr>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Subroutine Name</span>:<br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Argument List</span><br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Description</span><br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">VELCOR_BUILD_VELOCITY_TABLE</td>
+          <td style="vertical-align: top;">(ID,ARGS,STATUS) </td>
+          <td style="vertical-align: top;">Generate a directional
+            velocity table that can later be used for<br>
+            wavelength correction due to velocity redshifts. Table will
+            include heliocentric, barycentric and geocentric velocities.
+            The table will be added to the data frame.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">VELCOR_CORRECT_WAVELENGTHV</td>
+          <td style="vertical-align: top;">(ID,FIBNO,LAMVinp,LAMVout,n)</td>
+          <td style="vertical-align: top;">Using the directional
+            velocity table, correct a vector of wavelengths associated
+            with a specific fibre<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">VELCOR_CORRECT_WAVELENGTHA</td>
+          <td style="vertical-align: top;">(ID,LAMAinp,LAMout,n,nfibs)</td>
+          <td style="vertical-align: top;">Using the directional
+            velocity table, correct an array of wavelengths.</td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Functions:</span><br>
+          </td>
+          <td style="vertical-align: top;"><br>
+          </td>
+          <td style="vertical-align: top;"><br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">VELCOR_CORRECT_WAVELENGTH</td>
+          <td style="vertical-align: top;">(ID,FIBNO)</td>
+          <td style="vertical-align: top;">Using the directional
+            velocity table, correct a wavelength value associated with a
+            specific fibre</td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">VELCOR_UNCORRECT_WAVELENGTH</td>
+          <td style="vertical-align: top;">(ID,FIBNO)</td>
+          <td style="vertical-align: top;">Using the directional
+            velocity table, uncorrect a wavelength value associated with
+            a specific fibre</td>
+        </tr>
+      </tbody>
+    </table>
+    <br>
+    &nbsp;
+    <br>
+    <br>
+    <br>
+    <h3> tdfio MODULE API Additions:</h3>
+    <table style=" text-align: left; width: 100%;" border="1"
+      cellpadding="2" cellspacing="2">
+      <tbody>
+        <tr>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Subroutine Name</span>:<br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Argument List</span><br>
+          </td>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Description</span><br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_VELOCITY_WRITE</td>
+          <td style="vertical-align: top;">(ID,BVEC,HVEC,GVEC,SIZE,OVEC,NOPTS,STATUS)</td>
+          <td style="vertical-align: top;">Generate a directional
+            velocity table that can later be used for<br>
+            wavelength correction due to velocity redshifts. Table will
+            include heliocentric, barycentric and geocentric velocities.
+            The table will be added to the data frame.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_VELOCITY_READ</td>
+          <td style="vertical-align: top;">
+            <table style=" text-align: left; width: 100%;" border="1"
+              cellpadding="2" cellspacing="2">
+              <tbody>
+                <tr>
+                  <tr>
+                    <td style="vertical-align: top;">(ID,BVEC,HVEC,GVEC,SIZE,OVEC,NOPTS,STATUS)</td>
+                  </tr>
+                </tr>
+              </tbody>
+            </table>
+          </td>
+          <td style="vertical-align: top;">Using the directional
+            velocity table, correct a vector of wavelengths associated
+            with a specific fibre<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_FIBRES_WRITE_VELCOR</td>
+          <td style="vertical-align: top;">(ID,VELCOR_V,NFIBS,STATUS)<br>
+          </td>
+          <td style="vertical-align: top;">Write a velocity correction
+            column to the fibre table.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_FIBRES_READ_VELCOR</td>
+          <td style="vertical-align: top;">(ID,VELCOR_V,NFIBS,STATUS)</td>
+          <td style="vertical-align: top;">Read the velocity correction
+            column from the fibre table.</td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_FIBRES_WRITE_DELCOR</td>
+          <td style="vertical-align: top;">(ID,DELCOR_V,NFIBS,STATUS)</td>
+          <td style="vertical-align: top;">Write a delta velocity
+            correction column to the fibre table.</td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_FIBRES_READ_DELCOR</td>
+          <td style="vertical-align: top;">(ID,DELCOR_V,NFIBS,STATUS)</td>
+          <td style="vertical-align: top;">Read the delta velocity
+            correction column from the fibre table.</td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;"><span style="font-weight:
+              bold;">Functions:</span><br>
+          </td>
+          <td style="vertical-align: top;"><br>
+          </td>
+          <td style="vertical-align: top;"><br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_VELOCITY_EXISTS</td>
+          <td style="vertical-align: top;">(ID,STATUS)</td>
+          <td style="vertical-align: top;">Logical value if velocity
+            table exists in data frame.<br>
+          </td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_FIBRES_EXISTS_VELCOR<br>
+          </td>
+          <td style="vertical-align: top;">(ID,STATUS)</td>
+          <td style="vertical-align: top;">Logical value if VELCOR
+            column exists in data frame fibre table.</td>
+        </tr>
+        <tr>
+          <td style="vertical-align: top;">TDFIO_FIBRES_EXISTS_DELCOR</td>
+          <td style="vertical-align: top;">(ID,STATUS)</td>
+          <td style="vertical-align: top;">Logical value if DELCOR
+            column exists in data frame fibre table.</td>
+        </tr>
+      </tbody>
+    </table>
+    <br>
+    &nbsp;
+    <br>
+    <br>
+    <br>
+    <br>
+    &nbsp;<br>
+    <br>
     <br>
     <h2>Email:</h2>
     Recieved from Chris Lidman on 06/07/2017 with regards handling