fixing declaration of k, indentation of poisson return, removing stray console.log