Changed the ElementType to be float instead of double of als algorithms.