Minor changes in accuracy function, analysis doc added

Now accuracy function has as input the header of the continuous headers