rename intvariance to v

+ some fixing some minor errors