Added quadratic stuff support (issue #1) and optimization work while
creating an instance of Body type.