add upc code to standalone and matrix children

Signed-off-by: Chris Boertien <chris.boertien@gmail.com>