Added more efficient circle drawing function.