public static String bufferToString(FloatBuffer buffer, int elements) {
		StringBuilder bufferString = new StringBuilder();
		for(int i = 0; i < elements; i++) {
			bufferString.append(" ").append(buffer.get(i));
		}
		return bufferString.toString();
	}