write.smp.brainvoyager.v3or4or5 function

Write a brainvoyager v3, v4 or v5 SMP file.