switch f to it's transpose
fixes for isource.R