protected void transformPaths(ArrayList<Path> paths){
  for (int i=0; i < paths.size(); i++) {
    transformPath(paths.get(i));
  }
}

protected void transformPaths ( ArrayList < Path > paths ) { for ( int i = 0 ; i < paths . size ( ) ; i ++ ) { transformPath ( paths . get ( i ) ) ; } }
transforms multiple paths will all matrices
