Revision 5.0.4

Added shape checker from aforge