Copied float matrix classes to their double equivalents.