line was giving me trouble because schematicLine was being passed in a string.
explicitely converted [xy][01] to float (parseFloat).