adding horzcat for mixed objects with trigfuns.