public boolean[] repeatEncode(boolean[] bitsequence, int n) {
		boolean[] encodedBitsequence = new boolean[bitsequence.length * n];
		
		for (int i = 0; i < encodedBitsequence.length; i++) {
			encodedBitsequence[i] = bitsequence[(int)Math.floor(i / n)];
		}
		
		return encodedBitsequence;
	}