fix boundary condition for subsegments
increment version number to 3.0.0.0

add Windows 8.1 support