solved some basic erros due to typos, compilation is successful with f2py