ensured no copy in posting
added tests for no copying
disabled copy
parallel_pi update
performance improvement