[WIP] Complete introduction of Multiple Curves

To-do: Write out the actual algorithm.