FEM analysis of the elastic behavior of composites and nanocomposites with arbitrarily oriented reinforcements