doc fixes / roxygenise im3d code
Fix im3d docs & export
fix up example in write.amiramesh