bugfix: init element 0 in quads array
silly code to avoid creating Option objects
Alright, I'm giving up. Let's do it the Scala way because None is sooo
much better than null...