added support for 2D in mirror and icpmat and added examples
minor docu changes