Typos and not including whole path of spectrafn
Now quanting actually returns values