added code for one matrix + rest scalars if one of the inports is being subtracted
added code for one matrix + rest scalars if one of the inports is being subtracted

MPC-Berkeley/BLOM,MPC-Berkeley/BLOM,MPC-Berkeley/BLOM