Internal check tests and IM2D documentation

Summary
Internal check tests and IM2D documentation