func checkSize(measures []string, dimensions []float64)  error{
	if len(measures) == 0 {
		return sizeErr(measuresNotEqualZero)
	} else if len(dimensions) == 0 {
		return sizeErr(dimensionsNotEqualZero)
	} else if len(measures) != len(dimensions) {
		return sizeErr(measuresNotEqualDimensions)
	}
	return nil
}
// checkSize check length measure/dimension
checkSize check length measure/dimension
// checkSize check length measure / dimension
func checkSize(measures []string, dimensions []float64)  error{
	if len(measures) == 0 {
		return sizeErr(measuresNotEqualZero)
	} else if len(dimensions) == 0 {
		return sizeErr(dimensionsNotEqualZero)
	} else if len(measures) != len(dimensions) {
		return sizeErr(measuresNotEqualDimensions)
	}
	return nil
}
func checkSize ( measures [ ] string , dimensions [ ] float64 ) error { if len ( measures ) == 0 { return sizeErr ( measuresNotEqualZero ) } else if len ( dimensions ) == 0 { return sizeErr ( dimensionsNotEqualZero ) } else if len ( measures ) != len ( dimensions ) { return sizeErr ( measuresNotEqualDimensions ) } return nil }
checkSize check length measure/dimension
checkSize check length measure / dimension