now dts.condmatsbybcs returns bcinds and inner inds in a dict (on demand)
new function for expanding scalar variables with control at boundary to dolfin func