MAHOUT-1500: refactor frame_from_matrix() to reuse empty_frame()

Signed-off-by: Anand Avati <avati@redhat.com>
hdfs