implementation fixes to mcpele cython and source
placed all external declarations in pxd files
solved conflict