Changed the types of joint fields from slices to matrices