The following code was developed partly or entirely within the N3PDF project.