Fixed precondition definition for the build block rule.
Added functions for getting the centre point and the radius for boundingbox
Fixed inquriy spatial relation fuction to allow input of position as well as object.
Added spatial relation calculation function to allow input only boundingboxs instead of objects.